package interfaces;

import java.rmi.Remote;
import java.rmi.RemoteException;

public interface Heartbeat extends Remote {
	public final static String SERVICE_NAME = "/Heartbeat";
	public void setBeat1(boolean beat) throws RemoteException,Exception;
	public void setBeat2(boolean beat) throws RemoteException,Exception;
	public void setBeat3(boolean beat) throws RemoteException,Exception;
	public void setBeat4(boolean beat) throws RemoteException,Exception;
	public boolean isBeat1() throws RemoteException,Exception;
	public boolean isBeat2() throws RemoteException,Exception;
	public boolean isBeat3() throws RemoteException,Exception;
	public boolean isBeat4() throws RemoteException,Exception;

}

